package devyouk.util.excel;

import devyouk.util.excel.cellAdapter.CellValueAdapter;

public class ColumnConfig {

    private String displayHeader;
    private String fieldName;
    private String advancedHeader;

    private CellValueAdapter cellValueAdapter;

    public ColumnConfig(String displayHeader, String fieldName) {
        this.displayHeader = displayHeader;
        this.fieldName = fieldName;
    }

    public ColumnConfig(String displayHeader, String fieldName, String advancedHeader) {
        this.displayHeader = displayHeader;
        this.fieldName = fieldName;
        this.advancedHeader = advancedHeader;
    }

    public ColumnConfig(String displayHeader, String fieldName, String advancedHeader, CellValueAdapter cellValueAdapter) {
        this.displayHeader = displayHeader;
        this.fieldName = fieldName;
        this.advancedHeader = advancedHeader;
        this.cellValueAdapter = cellValueAdapter;
    }

    public String getDisplayHeader() {
        return displayHeader;
    }

    public void setDisplayHeader(String displayHeader) {
        this.displayHeader = displayHeader;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public CellValueAdapter getCellValueAdapter() {
        return cellValueAdapter;
    }

    public void setCellValueAdapter(CellValueAdapter cellValueAdapter) {
        this.cellValueAdapter = cellValueAdapter;
    }

    public String getAdvancedHeader() {
        return advancedHeader;
    }

    public void setAdvancedHeader(String advancedHeader) {
        this.advancedHeader = advancedHeader;
    }
}
